package com.neuedu.service.impl;

import com.neuedu.entity.RegisterLevel;
import com.neuedu.mapper.RegisterLevelMapper;
import com.neuedu.service.RegisterLevelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 挂号级别表 服务实现类
 * </p>
 *
 * @author 王禹
 * @since 2025-08-08
 */
@Service
public class RegisterLevelServiceImpl extends ServiceImpl<RegisterLevelMapper, RegisterLevel> implements RegisterLevelService {

    @Override
    @Cacheable(value = "pms:regist:level", key = "'list'")
    public List<RegisterLevel> getRegisterLevelList() {
        return this.list();
    }
}
